package com.ruoyi.ring.service;

import com.ruoyi.ring.domain.RingExerciseDetail;

import java.util.List;

/**
 * 锻炼详情Service接口
 * 
 * @author liuwp
 * @date 2025-09-25
 */
public interface IRingExerciseDetailService 
{
    /**
     * 查询锻炼详情
     * 
     * @param id 锻炼详情主键
     * @return 锻炼详情
     */
    public RingExerciseDetail selectRingExerciseDetailById(Long id);

    /**
     * 查询锻炼详情列表
     * 
     * @param ringExerciseDetail 锻炼详情
     * @return 锻炼详情集合
     */
    public List<RingExerciseDetail> selectRingExerciseDetailList(RingExerciseDetail ringExerciseDetail);

    /**
     * 根据业务主键查询一条记录：锻炼详情
     *
     * @param ringExerciseDetail 锻炼详情
     * @return 锻炼详情
     */
    public RingExerciseDetail selectOneRingExerciseDetail(RingExerciseDetail ringExerciseDetail);

    /**
     * 新增锻炼详情
     * 
     * @param ringExerciseDetail 锻炼详情
     * @return 结果
     */
    public int insertRingExerciseDetail(RingExerciseDetail ringExerciseDetail);

    /**
     * 修改锻炼详情
     * 
     * @param ringExerciseDetail 锻炼详情
     * @return 结果
     */
    public int updateRingExerciseDetail(RingExerciseDetail ringExerciseDetail);

    /**
     * 修改锻炼详情
     *
     * @param ringExerciseDetail 锻炼详情
     * @param ringExerciseDetail 锻炼详情条件
     * @return 结果
     */
    public int updateRingExerciseDetailCondition(RingExerciseDetail ringExerciseDetail, RingExerciseDetail ringExerciseDetailCondition);

    /**
     * 批量删除锻炼详情
     * 
     * @param ids 需要删除的锻炼详情主键集合
     * @return 结果
     */
    public int deleteRingExerciseDetailByIds(Long[] ids);

    /**
     * 删除锻炼详情信息
     * 
     * @param id 锻炼详情主键
     * @return 结果
     */
    public int deleteRingExerciseDetailById(Long id);

    /**
     * 条件删除锻炼详情
     *
     * @param ringExerciseDetail 锻炼详情
     * @return 结果
     */
    public int deleteRingExerciseDetailByCondition(RingExerciseDetail ringExerciseDetail);
}
